home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Online / hsc / source / hsclib / idref.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-02  |  1.6 KB  |  55 lines

  1. /*
  2.  * This source code is part of hsc, a html-preprocessor,
  3.  * Copyright (C) 1995-1997  Thomas Aglassinger
  4.  *
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  */
  20. /*
  21.  * hsclib/idref.h
  22.  *
  23.  * functions for id-references
  24.  *
  25.  */
  26.  
  27. #ifndef HSCLIB_IDREF_H
  28. #define HSCLIB_IDREF_H
  29.  
  30. typedef struct idref_node {
  31.     STRPTR name;                /* name of id */
  32.     INFILEPOS *fpos;            /* position where ID has been called from */
  33. } IDREF;
  34.  
  35. #ifndef NOEXTERN_HSCLIB_IDREF_H
  36.  
  37. extern VOID del_string_entry(APTR data);
  38. extern STRPTR new_string_entry(STRPTR data);
  39. extern int cmp_string_entry(APTR cmp_data, APTR list_data);
  40.  
  41.  
  42. extern VOID hsc_msg_unknown_id(HSCPRC * hp, STRPTR filename, STRPTR id);
  43.  
  44. extern BOOL add_local_iddef(HSCPRC * hp, STRPTR id);
  45.  
  46. extern VOID del_idref(APTR data);
  47. extern VOID add_local_idref(HSCPRC * hp, STRPTR id);
  48.  
  49. extern BOOL check_all_local_idref(HSCPRC * hp);
  50.  
  51. #endif /* NOEXTERN_HSCLIB_IDREF_H */
  52.  
  53. #endif /* HSC_IDREF_H */
  54.  
  55.